package com.javaclimb.music.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 评价
 */
@ApiModel(value = "com-javaclimb-music-domain-Rank")
@Data
@TableName(value = "`rank`")
public class Rank {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Integer id;

    /**
     * 歌单id
     */
    @TableField(value = "song_list_id")
    @ApiModelProperty(value = "歌单id")
    private Integer songListId;

    /**
     * 用户id
     */
    @TableField(value = "consumer_id")
    @ApiModelProperty(value = "用户id")
    private Integer consumerId;

    /**
     * 评分
     */
    @TableField(value = "score")
    @ApiModelProperty(value = "评分")
    private Integer score;
}